/*
 *  beluga_chat.h
 *  purple-beluga
 *
 */


#ifndef BELUGA_CHAT_H
#define BELUGA_CHAT_H

#include "libbeluga.h"
#include "beluga_connection.h"

typedef struct _BelugaChat {
	BelugaAccount *na;
	gchar *roomId;
	gint purple_id;
	gchar *beluga_hash;

	gchar *name;	
	guint userlist_timer;
	guint message_poll_timer;
} BelugaChat;

int beluga_chat_send(PurpleConnection *pc, int id, const char *message, PurpleMessageFlags flags);

#endif /* BELUGA_CHAT_H */
